package com.shop.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: shop
 * @BelongsPackage: com.shop.entity
 * @Author: GaoDo
 * @CreateTime: 2020-11-24 17:41
 * @Description:
 */
@Data
@NoArgsConstructor
public class ElasticSearchLog {

    private String name;
    private String ip;
    private Date time;
    private String uri;
    private String requestData;
    private String responseData;
    public ElasticSearchLog(String name,String ip, Date time, String uri, String requestData) {
        this.name = name;
        this.ip=ip;
        this.time = time;
        this.uri = uri;
        this.requestData = requestData;
    }

    public ElasticSearchLog(String name, String uri) {
        this.name = name;
        this.uri = uri;
    }
}
